package com.jixiang.model.user.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (UsUserInfo)表实体类
 *
 * @author makejava
 * @since 2023-11-22 18:43:28
 */
@SuppressWarnings("serial")
@Data
public class UsUserInfo extends Model<UsUserInfo> {
//主键
    private Long id;
//创建时间
    private Date createTime;
//修改时间
    private Date updateTime;
//年龄
    private Integer userAge;
//性别
    private Integer userSex;
//身份正图片
    private String userIdentityImage;
//创建方式
    private Integer userCreateType;
//创建者id
    private Long userCreateUserid;

    private Date userBirthday;

    private String userCareer;
    private String userCity;

    @TableField(exist = false)
    private String userBirthdayStr;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public String getUserIdentityImage() {
        return userIdentityImage;
    }

    public void setUserIdentityImage(String userIdentityImage) {
        this.userIdentityImage = userIdentityImage;
    }

    public Integer getUserCreateType() {
        return userCreateType;
    }

    public void setUserCreateType(Integer userCreateType) {
        this.userCreateType = userCreateType;
    }

    public Long getUserCreateUserid() {
        return userCreateUserid;
    }

    public void setUserCreateUserid(Long userCreateUserid) {
        this.userCreateUserid = userCreateUserid;
    }

    public Date getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Date userBirthday) {
        this.userBirthday = userBirthday;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

